import { QueryMaterialRequest } from '@/api/premium/content/model/materialModel'
import {
  MaterialSource,
  MaterialStatus,
} from '@/components/ItemList/MaterialList/types'

/**
 * 查询审核素材的请求参数
 */
export type QueryAuditMaterialRequest = QueryMaterialRequest

export interface UpdateMaterialStatusReq {
  id: string
  status: MaterialStatus
  memo: string
}

export interface BatchAuditMaterialReq {
  successList: string[]
  failList: string[]
}

export interface AsyncToPaixinReq {
  blocked: false
  categories: string[]
  description: string
  editorial: false
  /** sourceId */
  eputId: string
  exclusive: false
  fileSize: number
  /** sourceId */
  id: string
  image: string
  mediaType: 6
  preview: string
  recommend: boolean
  source: MaterialSource
  sourceFile: string
  status: 0
  tags: string[]
  title: string
  userId: string
  height: number
  width: number
}
